<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->

<%@ page contentType="text/html;charset=UTF-8" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sample title</title>
</head>
<body>
${plan?.name}<br />${plan?.id}<br />
<g:form action="save" method="post" >
<g:datePicker name="date" value="${planItem?.date}" ></g:datePicker><br>

<select name="place.id" id="place.id" >
<g:each in="${plan?.travelCountry?.places}" var="place">
<option value="${place?.id}" >${place?.name}</option>
</g:each>
</select>

<input type="hidden" name="planId" value="${plan?.id}" />
<input class="save" type="submit" value="Add" />
</g:form>
</body>
</html>
